package com.ljw.i18demo.bo;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import javax.validation.constraints.AssertTrue;
import javax.validation.constraints.NotBlank;

/**
 * @Author LiuJunWen
 * @Date 2020/5/19 22:37
 */
@NoArgsConstructor
@AllArgsConstructor
public class HiDto {
    @NotBlank(message = "{vo.hello.name.not.blank}")
    private String name;

    @AssertTrue()
    private  boolean flag;
}
